Code
<script> var alphabets = ["A", "B", "C"]; for (var i = 0; i < alphabets.length; i++) { document.write(alphabets[i]); } </script>
Output